<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>业务规则适配详情</title>
<link href="../../static/plugin/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
<link href="../../static/plugin/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
<link href="../../static/css/esaas-easyui-view.css" rel="stylesheet" type="text/css"/>
<script src="../../static/plugin/easyui/jquery.min.js" type="text/javascript"></script>
<script src="../../static/plugin/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../static/plugin/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
<script src="../../ffres/dict/all.js" type="text/javascript"></script>
<a href="" target="_blank" id="commonLink" name="commonLink"></a>
</head>
<body class="easyui-layout">

	    <form id="ff" method="post">
	    	<div class="esaas-info-title">业务规则适配信息</div>
	    	<table class="esaas-info-view-table">
			<tr>
				<td width="15%" align="right">记录唯一编号：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="recordKeyid" data-options="required:true"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">适配机构代码：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="adapterOrgNo" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">适配机构名称：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="adapterOrgName" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">适配流程ID：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="adapterFlowId" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">适配流程名称：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="adapterFlowName" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">适配产品编号：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="adapterPrdCode" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">适配产品名称：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="adapterPrdName" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">适配业务系统代码：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="adapterSysCode" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">适配的自定义维度1：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="adapterCustomDim1" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">适配的自定义维度2：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="adapterCustomDim2" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">目标规则ID：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="ruleTargetId" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">目标规则名称：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="ruleTargetName" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">目标规则类型：</td>
				<td width="35%"><select class="easyui-combobox"
					id="ruleTargetType" name="ruleTargetType"
					style="width: 100%; height: 25px;" disabled
					data-options="required:false,editable:false,valueField:'enname',textField:'cnname',data:RULE_TARGET_TYPE">
				</select></td>
				<td width="15%" align="right">创建人：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="createUser" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">创建时间：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="createTime" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">修改用户：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="updateUser" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">修改时间：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="updateTime" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
	    	</table>
	    </form>
	    <div style="text-align:center;padding:15px">
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="closeForm()">&nbsp;关&nbsp;闭&nbsp;</a>
	    </div>
	</div>
	<script>	
		$(function() {
			var recordKeyid = $.getUrlParam('recordKeyid');
			$.restfulGet('../../api/biz/rule/adapter/' + recordKeyid,null,function(data){
					$('#ff').form('load', {
						recordKeyid : data.rows.recordKeyid,
						adapterOrgNo : data.rows.adapterOrgNo,
						adapterOrgName : data.rows.adapterOrgName,
						adapterFlowId : data.rows.adapterFlowId,
						adapterFlowName : data.rows.adapterFlowName,
						adapterPrdCode : data.rows.adapterPrdCode,
						adapterPrdName : data.rows.adapterPrdName,
						adapterSysCode : data.rows.adapterSysCode,
						adapterCustomDim1 : data.rows.adapterCustomDim1,
						adapterCustomDim2 : data.rows.adapterCustomDim2,
						ruleTargetId : data.rows.ruleTargetId,
						ruleTargetName : data.rows.ruleTargetName,
						ruleTargetType : data.rows.ruleTargetType,
						createUser : data.rows.createUser,
						createTime : data.rows.createTime,
						updateUser : data.rows.updateUser,
						updateTime : data.rows.updateTime
					});					
			});
		});
		function closeForm(){
			window.parent.JLEUtil.closewin();
		}
	</script>
</body>
</html>
